﻿<%@ Page Language="C#" MasterPageFile="~/Frame.Master" AutoEventWireup="true" Codebehind="fmCarApplyForm.aspx.cs"
    Inherits="Auto.BusMan.fmCarApplyForm" Title="定点服务车辆计划用车申请单" %>

<%@ Register Assembly="Auto.WebControls" Namespace="Auto.WebControls" TagPrefix="ComboBox" %>
<%@ Register Assembly="Auto.Web.Common" Namespace="Auto.Web.Common" TagPrefix="cc1" %>
<%@ Register Src="UserControl/ucDDLCarSelector.ascx" TagName="ucDDLCarSelector" TagPrefix="uc1" %>
<%@ Register Src="UserControl/ucPhraseDropDownList.ascx" TagName="ucPhraseDropDownList"
    TagPrefix="uc2" %>
<%@ Register src="UserControl/ucPhraseListBox.ascx" tagname="ucPhraseListBox" tagprefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <div class="TitleDivStyle">
        <asp:Label ID="Label1" runat="server" Text="定点服务车辆计划用车申请单"></asp:Label>
    </div>
    <table style="width: 100%">
        <tr>
            <td>
                <ComboBox:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
                    <ComboBox:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="申请单填写">
                        <table border="0" cellspacing="1" cellpadding="0" class="borderStyle" style="width: 100%;
                            margin: 0 auto;">
                            <tr>
                                <td class="table_body">
                                    填写时间
                                </td>
                                <td class="table_none">
                                    <ComboBox:DateTextBox ID="txtApplyDate" runat="server" Enabled="False"></ComboBox:DateTextBox></td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    车辆牌号
                                </td>
                                <td class="table_none" nowrap="nowrap">
                                    <uc1:ucDDLCarSelector
                                        ID="ucDDLCarSelector1" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    申请人
                                </td>
                                <td class="table_none">
                                    <asp:TextBox ID="txtApplyer" runat="server" CssClass="textcommon" Enabled="False"></asp:TextBox>
                                    <asp:HiddenField ID="hfUserID" runat="server" />
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    出车目的地
                                </td>
                                <td class="table_none">
                                    <uc3:ucPhraseListBox ID="ucDriveToPhraseDropDownList" PhraseClass="BMDrivingTo" runat="server" />
                                    <asp:TextBox ID="txtDriveTo" runat="server"></asp:TextBox>
                                    备注：如果以后常用，请转到片语添加。</td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    简述工作任务
                                </td>
                                <td class="table_none">
                                    <uc3:ucPhraseListBox ID="ucWorkTaskPhraseDropDownList"  PhraseClass="BMWorkTask" runat="server" />
                                    <asp:TextBox ID="txtWorkTask" runat="server"></asp:TextBox>
                                    备注：如果以后常用，请转到片语添加。</td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    计划出车时间
                                </td>
                                <td class="table_none">
                                    <ComboBox:DateTextBox ID="txtPlanToTime" runat="server" DateFormat="yyyy-MM-dd HH:mm"></ComboBox:DateTextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPlanToTime"
                                        ErrorMessage="请选择计划出车时间"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body">
                                    计划返回时间
                                </td>
                                <td class="table_none">
                                    <ComboBox:DateTextBox ID="txtPlanBackTime" runat="server" DateFormat="yyyy-MM-dd HH:mm"></ComboBox:DateTextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPlanBackTime"
                                        ErrorMessage="请选择计划返回时间"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_body" nowrap="nowrap" style="height: 22px">
                                    批准意见
                                </td>
                                <td class="table_none" nowrap="nowrap" style="height: 22px">
                                    经<uc2:ucPhraseDropDownList ID="UcLeaderPhraseDropDownList" runat="server" PhraseClass="BMLeader" />
                                    领导同意出车;<asp:TextBox ID="txtApprovedNote" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="checktr" runat="server">
                                <td>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkAddContinue" runat="server" Text="连续添加"></asp:CheckBox>&nbsp;[
                                    添加成功后直接跳回此页进行再次添加 ]
                                </td>
                            </tr>
                        </table>
                    </ComboBox:TabOptionItem>
                </ComboBox:TabOptionWebControls>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" class="button_bak" runat="server" Text="保存" OnClick="btnSave_Click" />
                <input id="btnReset" class="button_bak" type="reset" value="重填" />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Label ID="lblMsg" runat="server" ForeColor="#0033CC"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
